<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title><?php echo ($system['name']); ?>-旅社后台管理</title>
    <meta name="keywords" content="<?php echo ($system['keyword']); ?>" />
    <meta name="description" content="<?php echo ($system['description']); ?>" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <!-- 基本样式 -->
    <!-- basic styles -->
    <link href="/travel_prod/Public/ace/assets/css/bootstrap.min.css" rel="stylesheet" />
    <link rel="stylesheet" href="/travel_prod/Public/ace/assets/css/font-awesome.min.css" />
    <!--[if IE 7]>
    <link rel="stylesheet" href="/travel_prod/Public/ace/assets/css/font-awesome-ie7.min.css" />
    <![endif]-->
    <!-- page specific plugin styles -->
    <!-- fonts -->
    <!--<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400,300" />-->
    <!--<link rel="stylesheet" href="/travel_prod/Public/ace/assets/font/font.css" />-->
    <!-- ace styles -->
    <link rel="stylesheet" href="/travel_prod/Public/ace/assets/css/ace.min.css" />
    <link rel="stylesheet" href="/travel_prod/Public/ace/assets/css/ace-rtl.min.css" />
    <link rel="stylesheet" href="/travel_prod/Public/ace/assets/css/ace-skins.min.css" />
    <link rel="stylesheet" href="/travel_prod/Public/font-awesome-4.7.0/css/font-awesome.min.css">
    <!--[if lte IE 8]>
    <link rel="stylesheet" href="/travel_prod/Public/ace/assets/css/ace-ie.min.css" />
    <![endif]-->
    <!-- inline styles related to this page -->
    <!-- ace settings handler -->
    <script src="/travel_prod/Public/ace/assets/js/ace-extra.min.js"></script>
    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="/travel_prod/Public/ace/assets/js/html5shiv.js"></script>
    <script src="/travel_prod/Public/ace/assets/js/respond.min.js"></script>
    <![endif]-->
    <!--[if !IE]>
    -->
    <script src="/travel_prod/Public/ace/assets/js/jquery-2.0.3.min.js"></script>
    <!-- <![endif]-->
    <!--[if IE]>
    <script src="/travel_prod/Public/ace/assets/js/jquery-1.10.2.min.js"></script>
    <![endif]-->
    <!--[if !IE]>
    -->
    <script type="text/javascript">
            window.jQuery || document.write("<script src='/travel_prod/Public/ace/assets/js/jquery-2.0.3.min.js'>"+"<"+"script>");</script>
    <!-- <![endif]-->
    <!--[if IE]>
    <script type="text/javascript">
         window.jQuery || document.write("<script src='/travel_prod/Public/ace/assets/js/jquery-1.10.2.min.js'>"+"<"+"script>");</script>
    <![endif]-->
    <!-- 基本样式结束 -->
    <!-- 扩展使用 -->
    <script src="/travel_prod/Public/ace/assets/js/bootstrap.min.js"></script>
    <link href="/travel_prod/Public/ace/admin/css/admin.css" rel="stylesheet" />
    <script type="text/javascript" src="/travel_prod/Public/UEditor/ueditor.config.js"></script>
    <script type="text/javascript" src="/travel_prod/Public/UEditor/ueditor.all.js"></script>
    <script type="text/javascript" src="/travel_prod/Public/My97DatePicker/WdatePicker.js"></script>
    <!-- 扩展使用结束 -->
</head>
<body>
    <input type="hidden" id="controller" value="/travel_prod/index.php/Club/Funding" />
    <div class="navbar navbar-default" id="navbar">
        <script type="text/javascript">try{ace.settings.check('navbar' , 'fixed')}catch(e){}</script>
        <div class="navbar-container" id="navbar-container">
            <div class="navbar-header pull-left">
                <a href="/travel_prod/index.php/Club" class="navbar-brand">
                    <small> <i class="icon-leaf"></i>
                        <?php echo ($system['name']); ?>-旅社后台管理
                    </small>
                </a>
                <!-- /.brand --> </div>
            <!-- /.navbar-header -->
            <div class="navbar-header pull-right" role="navigation">
                <ul class="nav ace-nav">
                    <li class="light-blue">
                        <a data-toggle="dropdown" href="#" class="dropdown-toggle">
                            <img class="nav-user-photo" src="/travel_prod/Public/ace/assets/avatars/admin.png" alt="Jason's Photo" />
                            <span class="user-info">
                                <small>欢迎光临,</small>
                                <?=session('旅社')['username'];?></span> <i class="icon-caret-down"></i>
                        </a>
                        <ul class="user-menu pull-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
                            <li>
                            <a href="<?php echo U('User/detail', ['id'=>session('旅社')['id']]);?>">
                                    <i class="icon-user"></i>
                                    个人信息
                                </a>
                            </li>
                            <li class="divider"></li>
                            <li>
                                <a href="/travel_prod/index.php/Club/Index/logout" onclick="return confirm('是否确定要注销?');">
                                    <i class="icon-off"></i>
                                    退出
                                </a>
                            </li>
                        </ul>
                    </li>
                </ul>
                <!-- /.ace-nav --> </div>
            <!-- /.navbar-header --> </div>
        <!-- /.container --> </div>

    <div class="main-container" id="main-container">
        <script type="text/javascript">
                try{ace.settings.check('main-container' , 'fixed')}catch(e){}
            </script>

        <div class="main-container-inner">
            <a class="menu-toggler" id="menu-toggler" href="#">
                <span class="menu-text"></span>
            </a>

            <div class="sidebar" id="sidebar">
                <script type="text/javascript">try{ace.settings.check('sidebar' , 'fixed')}catch(e){}</script>
                <ul class="nav nav-list">
                <li <?php if(CONTROLLER_NAME == 'Notice'): ?>class="active"<?php endif; ?>> <a href="#" class="dropdown-toggle"> <i class="icon-bullhorn"></i> <span class="menu-text">通知管理 </span> <?php $noticeCount = D('Notice')->where(['receive_user_id'=>session('旅社')['id'], 'state'=>'未读'])->count(); ?>
                <?php if($noticeCount != 0): ?><span class="label label-warning"><?php echo ($noticeCount); ?></span><?php endif; ?>
                <b class="arrow icon-angle-down"></b> </a> <ul class="submenu"> <li <?php if((ACTION_NAME == 'list') AND (CONTROLLER_NAME == 'Notice')): ?>class="active"<?php endif; ?>> <a href="<?php echo U('Notice/list');?>"> <i class="icon-double-angle-right"></i> 通知列表 </a> <li <?php if((ACTION_NAME == 'create') AND (CONTROLLER_NAME == 'Notice')): ?>class="active"<?php endif; ?>> <a href="<?php echo U('Notice/create');?>"> <i class="icon-double-angle-right"></i> 通知新增 </a></li> </ul> </li>
                <li <?php if(CONTROLLER_NAME == 'CustomizedTravel'): ?>class="active"<?php endif; ?>> <a href="#" class="dropdown-toggle"> <i class="icon-edit"></i> <span class="menu-text">定制旅行管理 </span> <b class="arrow icon-angle-down"></b> </a> <ul class="submenu"> <li <?php if((ACTION_NAME == 'list') AND (CONTROLLER_NAME == 'CustomizedTravel')): ?>class="active"<?php endif; ?>> <a href="<?php echo U('CustomizedTravel/list');?>"> <i class="icon-double-angle-right"></i> 定制旅行列表 </a> </li></ul> </li>
                <li <?php if(CONTROLLER_NAME == 'Funding'): ?>class="active"<?php endif; ?>> <a href="#" class="dropdown-toggle"> <i class="icon-certificate"></i> <span class="menu-text">筹单管理 </span> <b class="arrow icon-angle-down"></b> </a> <ul class="submenu"> <li <?php if((ACTION_NAME == 'list') AND (CONTROLLER_NAME == 'Funding')): ?>class="active"<?php endif; ?>> <a href="/travel_prod/index.php/Club/Funding/list?searchMap[transaction_type]=定制" > <i class="icon-double-angle-right"></i> 筹单列表 </a> </li> </ul> </li>
                <?php $club = D('UserClub')->where(['principal_id'=>session('旅社')['id']])->find(); ?>                <li <?php if((CONTROLLER_NAME == 'User') OR (CONTROLLER_NAME == 'UserClub')): ?>class="active"<?php endif; ?>> <a href="#" class="dropdown-toggle"> <i class="icon-user"></i> <span class="menu-text">个人信息 </span> <b class="arrow icon-angle-down"></b> </a> <ul class="submenu"> <li <?php if((ACTION_NAME == 'detail') AND (CONTROLLER_NAME == 'User')): ?>class="active"<?php endif; ?>> <a href="<?php echo U('User/detail', ['id'=>session('旅社')['id']]);?>"> <i class="icon-double-angle-right"></i> 基本信息 </a> </li> <li <?php if((ACTION_NAME == 'update') AND (CONTROLLER_NAME == 'User')): ?>class="active"<?php endif; ?>> <a href="<?php echo U('User/update', ['id'=>session('旅社')['id']]);?>"> <i class="icon-double-angle-right"></i> 修改基本信息 </a> </li>  <li <?php if((ACTION_NAME == 'detail') AND (CONTROLLER_NAME == 'UserClub')): ?>class="active"<?php endif; ?>> <a href="<?php echo U('UserClub/detail', ['id'=>$club['id']]);?>"> <i class="icon-double-angle-right"></i> 旅社信息 </a> </li>  <li <?php if((ACTION_NAME == 'update') AND (CONTROLLER_NAME == 'UserClub')): ?>class="active"<?php endif; ?>> <a href="<?php echo U('UserClub/update', ['id'=>$club['id']]);?>"> <i class="icon-double-angle-right"></i> 修改旅社信息 </a> </li></ul> </li> 
                <li <?php if(CONTROLLER_NAME == 'Withdraw'): ?>class="active"<?php endif; ?>> <a href="#" class="dropdown-toggle"> <i class="icon-yen"></i> <span class="menu-text">提现管理 </span> <b class="arrow icon-angle-down"></b> </a> <ul class="submenu"> <li <?php if((ACTION_NAME == 'list') AND (CONTROLLER_NAME == 'Withdraw')): ?>class="active"<?php endif; ?>> <a href="<?php echo U('Withdraw/list');?>"> <i class="icon-double-angle-right"></i> 提现列表 </a> </li> <li <?php if((ACTION_NAME == 'create') AND (CONTROLLER_NAME == 'Withdraw')): ?>class="active"<?php endif; ?>> <a href="<?php echo U('Withdraw/create');?>"> <i class="icon-double-angle-right"></i> 申请提现 </a> </li></ul> </li> 
            </ul>
            <!-- /.nav-list -->
            <div class="sidebar-collapse" id="sidebar-collapse">
                <i class="icon-double-angle-left" data-icon1="icon-double-angle-left" data-icon2="icon-double-angle-right"></i>
            </div>
            <script type="text/javascript">try{ace.settings.check('sidebar' , 'collapsed')}catch(e){}</script>
        </div>
        <div class="main-content">
            <div class="breadcrumbs" id="breadcrumbs">
                <script type="text/javascript">try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}</script>

                <ul class="breadcrumb">
                    <li>
                        <i class="<?php echo ($modelIcon); ?>"></i>
                        <a href="<?php echo U('list');?>"><?php echo ($modelName); ?>管理</a>
                    </li>
                    <li class="active"><?php echo ($modelName); echo ($crumbsMap[ACTION_NAME]); ?></li>
                </ul>
                <!-- .breadcrumb --> </div>
            <div class="page-content">
                <div class="page-header">
                    <h1><?php echo ($modelName); echo ($crumbsMap[ACTION_NAME]); ?></h1>
                </div>
                <!-- /.page-header -->
                <div class="row">
                    <div class="col-xs-12">
                        <!-- PAGE CONTENT BEGINS -->

<!-- 本页面逻辑 -->
<!-- 定制
非定制
旅社补充合同根据是否签署显示不一致
旅社签署情况根据是否签署显示不一致 -->
<div class="row">
    <form class="form-horizontal" role="form" method="post" enctype="multipart/form-data" style="padding-left: 10px;padding-right: 10px;">
        <input type="hidden" name="user_id" value="<?php echo session('旅社')['id'];?>" />
        <input type="hidden" name="funding_type" value="<?php echo ((isset($_GET['funding_type']) && ($_GET['funding_type'] !== ""))?($_GET['funding_type']):$model['funding_type']); ?>" />
        <input type="hidden" name="customized_id" value="<?php echo ($_GET['customized_id']); ?>" />
        <div class="form-group">
            <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="funding_type"> 筹单类型 </label>
            <div class="col-xs-12 col-sm-6">
                <span class="block input-icon input-icon-right">
                        <select  id="funding_type" class="width-100" disabled="">
                            <?php $funding_type = D(FundingType)->select(); ?>
                            <?php if(is_array($funding_type)): $i = 0; $__LIST__ = $funding_type;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><option value="<?php echo ($vo['id']); ?>" <?php if(($_GET['funding_type'] != '') && ($_GET['funding_type'] == $vo['id']) || ($model['funding_type'] == $vo['id'])): ?>selected<?php endif; ?>><?php echo ($vo['long_name']); ?></option><?php endforeach; endif; else: echo "" ;endif; ?>
                        </select>
                        <i class=""></i>
                    </span>
            </div>
            <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
        </div>
        <div class="form-group">
            <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="transaction_type"> 交易类型 </label>
            <div class="col-xs-12 col-sm-6">
                <span class="block input-icon input-icon-right">
                        <input type="text" class="width-100" placeholder="交易类型" id="transaction_type" name="transaction_type"  value="<?php echo ((isset($_GET['transaction_type']) && ($_GET['transaction_type'] !== ""))?($_GET['transaction_type']):$model['transaction_type']); ?>" validate-required="required:请填写交易类型" readonly/>
                        <i class=""></i>
                    </span>
            </div>
            <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
        </div>
        <?php if($_GET['transaction_type'] == '购买' || ($model['transaction_type'] == '购买')): ?><div class="form-group is-allow-funding <?php echo ($hidden); ?>">
                <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="funding_price"> 众筹底价 </label>
                <div class="col-xs-12 col-sm-6">
                    <span class="block input-icon input-icon-right">
                        <input type="text" class="width-100" placeholder="众筹价格" id="funding_price" name="funding_price"  value="<?php echo ((isset($model['funding_price']) && ($model['funding_price'] !== ""))?($model['funding_price']):'0'); ?>" validate-required="required:请填写众筹价格" />
                        <i class=""></i>
                    </span>
                </div>
                <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
            </div><?php endif; ?>

        <?php if(($_GET['transaction_type'] == '定制') || ($model['transaction_type'] == '定制')): ?><!-- 定制内容 -->
            <input type="hidden" class="width-100" id="already_num" name="already_num" value="<?php echo ((isset($model['already_num']) && ($model['already_num'] !== ""))?($model['already_num']):'1'); ?>" />
            <div class="form-group">
                <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="customized_price"> 定制价格 </label>
                <div class="col-xs-12 col-sm-6">
                    <span class="block input-icon input-icon-right">
                        <input type="text" class="width-100" placeholder="定制价格" id="customized_price" name="customized_price"  value="<?php echo ((isset($model['customized_price']) && ($model['customized_price'] !== ""))?($model['customized_price']):''); ?>" validate-required="required:请填写定制价格" />
                        <i class=""></i>
                    </span>
                </div>
                <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
            </div>
        <div class="form-group">
            <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="img"> 图片 </label>
            <div class="col-xs-12 col-sm-6">
                <span class="block input-icon input-icon-right">
                        <input type="file" class="width-100" placeholder="图片" id="img" name="img"  value="<?php echo ((isset($model['img']) && ($model['img'] !== ""))?($model['img']):''); ?>"/>
                        <i class=""></i>
                    </span>
            </div>
            <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
        </div>
        <?php if(ACTION_NAME == 'update'): ?><div class="form-group">
            <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="img"> </label>
            <div class="col-xs-12 col-sm-6">
                <span class="block input-icon input-icon-right">
                        <img src="/travel_prod/Public/file/<?php echo ($model['img']); ?>" style="height: 10rem;width: 20rem;" />
                        <i class=""></i>
                    </span>
            </div>
            <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
        </div><?php endif; ?>
        <div class="form-group">
            <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="detail_wap"> wap详情 </label>
            <div class="col-xs-12 col-sm-6">
                <span class="block input-icon input-icon-right">
                        <textarea class="col-xs-12 col-sm-6 width-100" style="padding: 5px 4px;" rows="5" id="detail_wap" name="detail_wap" placeholder="wap详情" validate-required="required:请填写wap详情" ><?php echo ((isset($model["detail_wap"]) && ($model["detail_wap"] !== ""))?($model["detail_wap"]):""); ?></textarea>
                        <i class=""></i>
                        <small style="color:gray;">为了让上传图片在手机中正常显示，请将图片宽度设置为100%</small>
                    </span>
            </div>
            <script type="text/javascript">
            var editor = UE.getEditor("detail_wap");
            </script>
            <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
        </div>
        <div class="form-group">
            <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="detail_pc"> pc详情 </label>
            <div class="col-xs-12 col-sm-6">
                <span class="block input-icon input-icon-right">
                        <textarea class="col-xs-12 col-sm-6 width-100" style="padding: 5px 4px;" rows="5" id="detail_pc" name="detail_pc" placeholder="pc详情" validate-required="required:请填写pc详情" ><?php echo ((isset($model["detail_pc"]) && ($model["detail_pc"] !== ""))?($model["detail_pc"]):""); ?></textarea>
                        <i class=""></i>
                    </span>
            </div>
            <script type="text/javascript">
            var editor = UE.getEditor("detail_pc");
            </script>
            <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
        </div>
        <?php if(ACTION_NAME != create): ?><!-- 不是新创建 -->
            <div class="form-group">
                <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="user_contract"> 用户补充合同 </label>
                <div class="col-xs-12 col-sm-6">
                    <div class="panel panel-default">
                        <div class="panel-body">
                            <?php echo (html_entity_decode($model["user_contract"])); ?>
                        </div>
                    </div>
                </div>
                <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
            </div>

            <if condition="($model['seller_contract_state'] eq '已签署') AND ($model['buyer_contract_state'] eq '已签署')">
            <div class="form-group">
                <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="seller_contract"> 旅社补充合同 </label>
                <div class="col-xs-12 col-sm-6">
                    <div class="panel panel-default">
                      <div class="panel-body">
                            <?php echo (html_entity_decode($model["seller_contract"])); ?>
                      </div>
                    </div>
                </div>
                <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
            </div>
            <?php else: ?>
            <div class="form-group">
                <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="seller_contract"> 旅社补充合同 </label>
                <div class="col-xs-12 col-sm-6">
                    <span class="block input-icon input-icon-right">
                        <textarea class="col-xs-12 col-sm-6 width-100" style="padding: 5px 4px;" rows="5" id="seller_contract" name="seller_contract" placeholder="旅社补充合同" validate-required="required:请填写旅社补充合同" ><?php echo ((isset($model["seller_contract"]) && ($model["seller_contract"] !== ""))?($model["seller_contract"]):''); ?></textarea>
                        <i class=""></i>
                    </span>
                </div>
                <script type="text/javascript">var editor = UE.getEditor('seller_contract');</script>
                <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
             </div><?php endif; ?>

        <!--     <div class="form-group">
                <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="user_contract_state"> 游客合同签署情况 </label>
                <div class="col-xs-12 col-sm-6">
                    <span class="block input-icon input-icon-right">
                        <input type="text" class="width-100" placeholder="游客合同签署情况" id="user_contract_state" name="user_contract_state"  value="<?php echo ((isset($model['user_contract_state']) && ($model['user_contract_state'] !== ""))?($model['user_contract_state']):''); ?>" validate-required="required:请填写游客合同签署情况" <?php if(ACTION_NAME == 'update'): ?>readonly<?php endif; ?>/>
                        <i class=""></i>
                    </span>
                </div>
                <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
            </div> -->
            <?php if($model['seller_contract_state'] == '已签署'): ?><div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="seller_contract_state"> 商家合同签署情况 </label>
                    <div class="col-xs-12 col-sm-6">
                        <span class="block input-icon input-icon-right">
                        <input type="text" class="width-100" id="seller_contract_state" name="seller_contract_state"  value="<?php echo ((isset($model['seller_contract_state']) && ($model['seller_contract_state'] !== ""))?($model['seller_contract_state']):''); ?>" <?php if (ACTION_NAME == 'update') { echo "readonly";} ?>/>
                    </span>
                    </div>
                    <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
                </div>
            <?php else: ?> 
                <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-3 control-label no-padding-right" for="seller_contract_state"> 旅社合同签署情况 </label>
                    <div class="col-xs-12 col-sm-6">
                    <span class="block input-icon input-icon-right">
                    <select name="seller_contract_state" id="seller_contract_state" class="width-100">
                         <option value="未签署">未签署</option>
                         <option value="已签署">已签署</option>
                    </select>
                    <i class=""></i>
                    </span>
                    </div>
                    <div class="help-block col-xs-12 col-sm-reset inline" style="margin-bottom: 5px;"></div>
                </div><?php endif; endif; ?>
         </if>
        <div class="clearfix form-actions">
            <div style="margin-left: 25%;">
                <button class="btn btn-info btn-sm" type="submit">
                    <i class="icon-ok bigger-110"></i> 下一步
                </button>
                &nbsp; &nbsp; &nbsp;
                <button class="btn btn-sm return" type="button">
                    <i class="icon-reply bigger-110"></i> 返回
                </button>
            </div>
        </div>
    </form>
</div>
                            <!-- PAGE CONTENT ENDS -->
                            </div><!-- /.col -->
                        </div><!-- /.row -->
                    </div><!-- /.page-content -->
                </div><!-- /.main-content -->
                <div class="ace-settings-container" id="ace-settings-container">
                    <div class="btn btn-app btn-xs btn-warning ace-settings-btn" id="ace-settings-btn">
                        <i class="icon-cog bigger-150"></i>
                    </div>

                    <div class="ace-settings-box" id="ace-settings-box">
                        <div>
                            <div class="pull-left">
                                <select id="skin-colorpicker" class="hide">
                                    <option data-skin="default" value="#438EB9">#438EB9</option>
                                    <option data-skin="skin-1" value="#222A2D">#222A2D</option>
                                    <option data-skin="skin-2" value="#C6487E">#C6487E</option>
                                    <option data-skin="skin-3" value="#D0D0D0">#D0D0D0</option>
                                </select>
                            </div>
                            <span>&nbsp; 选择皮肤</span>
                        </div>

                        <div>
                            <input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-navbar" />
                            <label class="lbl" for="ace-settings-navbar"> 固定导航条</label>
                        </div>

                        <div>
                            <input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-sidebar" />
                            <label class="lbl" for="ace-settings-sidebar"> 固定滑动条</label>
                        </div>

                        <div>
                            <input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-breadcrumbs" />
                            <label class="lbl" for="ace-settings-breadcrumbs">固定面包屑</label>
                        </div>

                        <div>
                            <input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-rtl" />
                            <label class="lbl" for="ace-settings-rtl">切换到左边</label>
                        </div>

                        <div>
                            <input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-add-container" />
                            <label class="lbl" for="ace-settings-add-container">
                                切换窄屏
                                <b></b>
                            </label>
                        </div>
                    </div>
                </div><!-- /#ace-settings-container -->
            </div><!-- /.main-container-inner -->

            <a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
                <i class="icon-double-angle-up icon-only bigger-110"></i>
            </a>
        </div><!-- /.main-container -->

        <!-- basic scripts -->
        <script type="text/javascript">
            if("ontouchend" in document) document.write("<script src='/travel_prod/Public/ace/assets/js/jquery.mobile.custom.min.js'>"+"<"+"script>");
        </script>
        <script src="/travel_prod/Public/ace/assets/js/typeahead-bs2.min.js"></script>
        <!-- page specific plugin scripts -->
        <!--[if lte IE 8]>
          <script src="/travel_prod/Public/ace/assets/js/excanvas.min.js"></script>
        <![endif]-->
        <script src="/travel_prod/Public/ace/assets/js/jquery-ui-1.10.3.custom.min.js"></script>
        <script src="/travel_prod/Public/ace/assets/js/jquery.ui.touch-punch.min.js"></script>
        <script src="/travel_prod/Public/ace/assets/js/jquery.slimscroll.min.js"></script>
        <script src="/travel_prod/Public/ace/assets/js/jquery.easy-pie-chart.min.js"></script>
        <script src="/travel_prod/Public/ace/assets/js/jquery.sparkline.min.js"></script>
        <script src="/travel_prod/Public/ace/assets/js/flot/jquery.flot.min.js"></script>
        <script src="/travel_prod/Public/ace/assets/js/flot/jquery.flot.pie.min.js"></script>
        <script src="/travel_prod/Public/ace/assets/js/flot/jquery.flot.resize.min.js"></script>
        <!-- ace scripts -->
        <script src="/travel_prod/Public/ace/assets/js/ace-elements.min.js"></script>
        <script src="/travel_prod/Public/ace/assets/js/ace.min.js"></script>
        <script src="/travel_prod/Public/ace/admin/js/admin.js"></script>
</body>
</html>